package cn.usian.mapper;

import cn.usian.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User>findAll();

    void add(User user);

    void update(@Param("uname")String uname,@Param("hobby")String hobby,@Param("uid")Integer uid);

    void delete(Integer uid);
}
